package com.alibaba.algo.cooperation.usercomponent.vo.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : WangZhiPan
 * @date : 2021/10/12 11:35
 */
@Data
@ApiModel
public class CreatePositionReqVo {

    /**
     * 是否主岗  0否 1是
     */
    @NotNull(message = "isPrimary不允许为空!")
    @ApiModelProperty(value = "是否主岗  0否 1是")
    private Long isPrimary;


    /**
     * 岗位排序
     */
    @ApiModelProperty(value = "岗位排序")
    private Long orgSort;


    /**
     * 组织ID
     */
    @NotEmpty(message = "组织id不允许为空!")
    @ApiModelProperty(value = "组织id列表")
    private List<Long> orgIdList;

    /**
     * 岗位名称
     */
    @NotBlank(message = "岗位名称不允许为空")
    @ApiModelProperty(value = "岗位名称")

    private String name;


    /**
     * 数据来源
     */
    @ApiModelProperty(value = "数据来源")
    private Integer dataSource;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;
    /**
     * 岗位等级名称
     */
    @ApiModelProperty(value = "岗位等级名称")
    private String posLevel;

    /**
     * 岗位等级编码
     */
    @ApiModelProperty(value = "岗位等级编码")
    private String posLevelCode;


}
